package com.eyedsion.his.web.entity.businessdata;

import com.eyedsion.his.web.entity.common.BaseEntity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 彭长云
 * @Description:
 * @date 2018/12/28 11:44
 */
@Entity
@Table(name = "ins_spod_settlement")
public class InsSpodSettlement extends BaseEntity{
    @Id
    private String code;//PK [CODE, VARCHAR2, 32]
    private String serviceWindowCode;//业务窗口 [SERVICE_WINDOW_CODE, VARCHAR2, 32]
    private String ihSettlCode;//住院结算编码 [IH_SETTL_CODE, VARCHAR2, 32]
    private String inpCode;//住院号 [INP_CODE, VARCHAR2, 32]
    private String insType;//保险类别;数据来源于HIS入院登记保险类别 [INS_TYPE, VARCHAR2, 32]
    private String payType;//支付类别 [PAY_TYPE, VARCHAR2, 32]
    private String insPatientCode;//保险病人编码;个人编号 [INS_PATIENT_CODE, VARCHAR2, 32]
    private String medicareCardNo;//医疗保险号码;社保卡号 [MEDICARE_CARD_NO, VARCHAR2, 32]
    private String insVisitsCode;//医保就诊编号-医保返回 [INS_VISITS_CODE, VARCHAR2, 64]
    private String insAgencies;//医疗保险经办机构 [INS_AGENCIES, VARCHAR2, 64]
    private BigDecimal costTotal;//明细金额 [COST_TOTAL, NUMBER, 14.4]
    private BigDecimal costCount;//本次门诊明细行数 [COST_COUNT, NUMBER, 14.4]
    private Date insSettlementDate;//保险结算日期 [INS_SETTLEMENT_DATE, DATE, 7]
    private String tstatus;//状态; 1已上传未确认 2已上传已确认 3已取消未确认4已取消已确认 [TSTATUS, VARCHAR2, 1]
    private String insSettlCode;//医保结算编号 [INS_SETTL_CODE, VARCHAR2, 32]
    private String reimburType;//报销类型 [REIMBUR_TYPE, VARCHAR2, 32]
    private BigDecimal insCostTotal;//费用总额 [INS_COST_TOTAL, NUMBER, 14.4]
    private BigDecimal allSelfCost;//全自费 [ALL_SELF_COST, NUMBER, 14.4]
    private String accordRange;//符合范围 [ACCORD_RANGE, VARCHAR2, 32]
    private BigDecimal insFundPayTot;//社保基金支付总额 [INS_FUND_PAY_TOT, NUMBER, 14.4]
    private BigDecimal perAccPayTot;//个人帐户支付总额 [PER_ACC_PAY_TOT, NUMBER, 14.4]
    private BigDecimal otherPayTot;//现金及其他自付 [OTHER_PAY_TOT, NUMBER, 14.4]
    private String createDept;//创建科室 [CREATE_DEPT, VARCHAR2, 32]
    private String createUser;//创建人 [CREATE_USER, VARCHAR2, 32]
    private Date createTime;//创建时间 [CREATE_TIME, DATE, 7]
    private String cancelInsSerialno;//取消医保结算交易流水号 [CANCEL_INS_SERIALNO, VARCHAR2, 32]
    private String cancelInsCaptcha;//取消医保结算交易验证码 [CANCEL_INS_CAPTCHA, VARCHAR2, 32]
    private String cancelUser;//取消医保结算操作人 [CANCEL_USER, VARCHAR2, 32]
    private String cancelDept;//取消医保结算科室 [CANCEL_DEPT, VARCHAR2, 32]
    private Date cancelTime;//取消医保结算时间 [CANCEL_TIME, DATE, 7]

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getServiceWindowCode() {
        return serviceWindowCode;
    }

    public void setServiceWindowCode(String serviceWindowCode) {
        this.serviceWindowCode = serviceWindowCode;
    }

    public String getIhSettlCode() {
        return ihSettlCode;
    }

    public void setIhSettlCode(String ihSettlCode) {
        this.ihSettlCode = ihSettlCode;
    }

    public String getInpCode() {
        return inpCode;
    }

    public void setInpCode(String inpCode) {
        this.inpCode = inpCode;
    }

    public String getInsType() {
        return insType;
    }

    public void setInsType(String insType) {
        this.insType = insType;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getInsPatientCode() {
        return insPatientCode;
    }

    public void setInsPatientCode(String insPatientCode) {
        this.insPatientCode = insPatientCode;
    }

    public String getMedicareCardNo() {
        return medicareCardNo;
    }

    public void setMedicareCardNo(String medicareCardNo) {
        this.medicareCardNo = medicareCardNo;
    }

    public String getInsVisitsCode() {
        return insVisitsCode;
    }

    public void setInsVisitsCode(String insVisitsCode) {
        this.insVisitsCode = insVisitsCode;
    }

    public String getInsAgencies() {
        return insAgencies;
    }

    public void setInsAgencies(String insAgencies) {
        this.insAgencies = insAgencies;
    }

    public BigDecimal getCostTotal() {
        return costTotal;
    }

    public void setCostTotal(BigDecimal costTotal) {
        this.costTotal = costTotal;
    }

    public BigDecimal getCostCount() {
        return costCount;
    }

    public void setCostCount(BigDecimal costCount) {
        this.costCount = costCount;
    }

    public Date getInsSettlementDate() {
        return insSettlementDate;
    }

    public void setInsSettlementDate(Date insSettlementDate) {
        this.insSettlementDate = insSettlementDate;
    }

    public String getTstatus() {
        return tstatus;
    }

    public void setTstatus(String tstatus) {
        this.tstatus = tstatus;
    }

    public String getInsSettlCode() {
        return insSettlCode;
    }

    public void setInsSettlCode(String insSettlCode) {
        this.insSettlCode = insSettlCode;
    }

    public String getReimburType() {
        return reimburType;
    }

    public void setReimburType(String reimburType) {
        this.reimburType = reimburType;
    }

    public BigDecimal getInsCostTotal() {
        return insCostTotal;
    }

    public void setInsCostTotal(BigDecimal insCostTotal) {
        this.insCostTotal = insCostTotal;
    }

    public BigDecimal getAllSelfCost() {
        return allSelfCost;
    }

    public void setAllSelfCost(BigDecimal allSelfCost) {
        this.allSelfCost = allSelfCost;
    }

    public String getAccordRange() {
        return accordRange;
    }

    public void setAccordRange(String accordRange) {
        this.accordRange = accordRange;
    }

    public BigDecimal getInsFundPayTot() {
        return insFundPayTot;
    }

    public void setInsFundPayTot(BigDecimal insFundPayTot) {
        this.insFundPayTot = insFundPayTot;
    }

    public BigDecimal getPerAccPayTot() {
        return perAccPayTot;
    }

    public void setPerAccPayTot(BigDecimal perAccPayTot) {
        this.perAccPayTot = perAccPayTot;
    }

    public BigDecimal getOtherPayTot() {
        return otherPayTot;
    }

    public void setOtherPayTot(BigDecimal otherPayTot) {
        this.otherPayTot = otherPayTot;
    }

    public String getCreateDept() {
        return createDept;
    }

    public void setCreateDept(String createDept) {
        this.createDept = createDept;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCancelInsSerialno() {
        return cancelInsSerialno;
    }

    public void setCancelInsSerialno(String cancelInsSerialno) {
        this.cancelInsSerialno = cancelInsSerialno;
    }

    public String getCancelInsCaptcha() {
        return cancelInsCaptcha;
    }

    public void setCancelInsCaptcha(String cancelInsCaptcha) {
        this.cancelInsCaptcha = cancelInsCaptcha;
    }

    public String getCancelUser() {
        return cancelUser;
    }

    public void setCancelUser(String cancelUser) {
        this.cancelUser = cancelUser;
    }

    public String getCancelDept() {
        return cancelDept;
    }

    public void setCancelDept(String cancelDept) {
        this.cancelDept = cancelDept;
    }

    public Date getCancelTime() {
        return cancelTime;
    }

    public void setCancelTime(Date cancelTime) {
        this.cancelTime = cancelTime;
    }
}
